SftTree/OCX 7.0

SftTreeItems.IndentationPix Property

Softel vdm, Inc.

Defines the indentation for item levels.

Syntax       

Get

VB.NET

IndentPix = object.IndentationPix  As Integer

VB

IndentPix = object.IndentationPix  As Long

C#.NET

int IndentPix = object.IndentationPix;

VC++

long IndentPix = object->IndentationPix;
long IndentPix = object->GetIndentationPix();

C

HRESULT object->get_IndentationPix(long* IndentPix);

Delphi

IndentPix := object.IndentationPix   : Integer;

Put

VB.NET

object.IndentationPix = IndentPix  As Integer

VB

object.IndentationPix = IndentPix  As Long

C#.NET

int object.IndentationPix = IndentPix;

VC++

long object->IndentationPix = IndentPix;
void object->PutIndentationPix(long IndentPix);

C

HRESULT object->put_IndentationPix(long IndentPix);

Delphi

object.IndentationPix := IndentPix   : Integer;

object

A SftTreeItems object.

IndentPix

Defines the indentation for item levels in pixels.  If -1 is specified, the tree control determines the best indentation, based on item graphic width, font size, etc.

Comments

The IndentationPix property defines the indentation for item levels.

The Items.Indentation and Items.IndentationPix methods are synonyms, but may use different coordinate systems.

Each item is indented the specified amount for each level.

It is possible to specify a very small value or even 0 for the level indentation.  With such a small value, the hierarchy and its components, such as tree lines, expand/collapse buttons may no longer have sufficient space and must be turned off by the application.

The Items.ItemImageAlign property can be used to define the alignment of connecting tree lines, cell text and cell pictures.

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com